package com.mcxx.modules.miniSalvation.family.service.read;

import com.mcxx.modules.miniSalvation.family.entity.FamilyMemberTempEntity;
import com.mcxx.modules.miniSalvation.family.dao.read.FamilyMemberTempReadDao;
import com.yinhai.ta404.core.transaction.annotation.TaTransactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@TaTransactional(readOnly = true)
public class FamilyMemberTempReadService {

    @Autowired
    private FamilyMemberTempReadDao familyMemberTempReadDao;


    public List<FamilyMemberTempEntity> listAll() {
    	return familyMemberTempReadDao.listAll();
    }



    public FamilyMemberTempEntity getById(String id) {
    	return familyMemberTempReadDao.getById(id);
    }



    public List<FamilyMemberTempEntity> getByOrderId(String orderId){ return familyMemberTempReadDao.getByOrderId(orderId); }

}
